const dataReducer = (state = {
    list: [{
        title: '你好'
    }]
}, action) => {
    switch (action.type) {
        case 'LOAD_DATA':
            return {
                ...state,
                list: action.payload
            };
        default:
            return state;
    }
}


export default dataReducer;